package com.vsked.classMssqls;

import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Collection;

public class Mssqls {
	private static Connection conn=null;
	private static ResultSet rs=null;
	private static PreparedStatement pt=null;
	private static java.util.ResourceBundle rb;

	public void closeDB() {
		try{
			if(rs!=null){
				rs.close();
			}
			if(pt!=null){
				pt.close();
			}
			if(conn!=null){
				conn.close();
			}
		}
		catch(SQLException e){
			
		}
	}

	public Connection connectDB() {
		
		return null;
	}

	public boolean deleteDB(String sql) {
		
		return false;
	}

	public Collection getDBInfo(String databaseName) {
		
		return null;
	}

	public boolean insertDB(String sql) {
		
		return false;
	}

	public Collection selectDB(String sql) {
		// TODO Auto-generated method stub
		return null;
	}

	public boolean updateDB(String sql) {
		// TODO Auto-generated method stub
		return false;
	}

}
